package com.personnel.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * (ExtraWork)实体类
 *
 * @author yuepeng
 * @since 2022-03-04 10:28:31
 * @version 1.0
 */
public class ExtraWork implements Serializable {
    private static final long serialVersionUID = -21673695431797836L;
    
    private Integer extraWorkId;
    /**
    * 关联员工id
    */
    private Integer extraWorkStaffId;
    /**
    * 开始时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp startTime;
    /**
    * 结束时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp endTime;
    /**
    * 加班时长
    */
    private String overtimeHours;
    /**
    * 备注
    */
    private String remark;
    /**
    * 审核状态
    */
    private Integer status;
    /**
    * 附件
    */
    private String extraFile;
    private Staff staff;

    private Department department;

    private Job job;

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public Job getJob() {
        return job;
    }

    public void setJob(Job job) {
        this.job = job;
    }

    public Staff getStaff() {
        return staff;
    }

    public void setStaff(Staff staff) {
        this.staff = staff;
    }
        
    public Integer getExtraWorkId() {
        return extraWorkId;
    }

    public void setExtraWorkId(Integer extraWorkId) {
        this.extraWorkId = extraWorkId;
    }
        
    public Integer getExtraWorkStaffId() {
        return extraWorkStaffId;
    }

    public void setExtraWorkStaffId(Integer extraWorkStaffId) {
        this.extraWorkStaffId = extraWorkStaffId;
    }

    public Timestamp getStartTime() {
        return startTime;
    }

    public void setStartTime(Timestamp startTime) {
        this.startTime = startTime;
    }

    public Timestamp getEndTime() {
        return endTime;
    }

    public void setEndTime(Timestamp endTime) {
        this.endTime = endTime;
    }

    public String getOvertimeHours() {
        return overtimeHours;
    }

    public void setOvertimeHours(String overtimeHours) {
        this.overtimeHours = overtimeHours;
    }
        
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
        
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
        
    public String getExtraFile() {
        return extraFile;
    }

    public void setExtraFile(String extraFile) {
        this.extraFile = extraFile;
    }

}